home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyc (Python 1.5)
-
- import time
- time.altzone
- time.clock()
- t = time.time()
- time.asctime(time.gmtime(t))
- if time.ctime(t) != time.asctime(time.localtime(t)):
- print 'time.ctime(t) <> time.asctime(time.localtime(t))'
-
- time.daylight
- if long(time.mktime(time.localtime(t))) != long(t):
- print 'time.mktime(time.localtime(t)) <> t'
-
- time.sleep(1.2)
- tt = time.gmtime(t)
- for directive in ('a', 'A', 'b', 'B', 'c', 'd', 'H', 'I', 'j', 'm', 'M', 'p', 'S', 'U', 'w', 'W', 'x', 'X', 'y', 'Y', 'Z', '%'):
- format = ' %' + directive
-
- try:
- time.strftime(format, tt)
- except ValueError:
- 0
- 0
- ('a', 'A', 'b', 'B', 'c', 'd', 'H', 'I', 'j', 'm', 'M', 'p', 'S', 'U', 'w', 'W', 'x', 'X', 'y', 'Y', 'Z', '%')
- print 'conversion specifier:', format, ' failed.'
- except:
- 0
-
-
- time.timezone
- time.tzname
-
- try:
- time.asctime(0)
- except TypeError:
- 0
- 0
- ('a', 'A', 'b', 'B', 'c', 'd', 'H', 'I', 'j', 'm', 'M', 'p', 'S', 'U', 'w', 'W', 'x', 'X', 'y', 'Y', 'Z', '%')
- except:
- 0
-
-
- try:
- time.mktime((999999, 999999, 999999, 999999, 999999, 999999, 999999, 999999, 999999))
- except OverflowError:
- 0
- 0
- ('a', 'A', 'b', 'B', 'c', 'd', 'H', 'I', 'j', 'm', 'M', 'p', 'S', 'U', 'w', 'W', 'x', 'X', 'y', 'Y', 'Z', '%')
- except:
- 0
-
-